#围绕中心点划四个三角形

import turtle

t = turtle.Pen()
turtle.bgcolor("black")
turtle.tracer(False)
#xx =int(input("输入一个2-6的 数"))
xx=int(turtle.numinput("input","输入一个2-6的数字"))
colors=["red","yellow","green","blue","orange","purple"]
for x in range(4):
    #t.pencolor(colors [x+1])
    t.fillcolor(colors [x ])
    t.begin_fill()    
    t.circle(100,steps=xx)
    t.end_fill()
    t.left(90)

turtle.tracer(True)